<?php

if(!isset($_GET["channels"]))  $channels = "wsps2s"; 
else $channels = $_GET["channels"];

?>

<?php

if(!isset($_GET["W"]))  $W= "640"; 
else $W = $_GET["W"];

?>

<?php

if(!isset($_GET["H"]))  $H= "400"; 
else $W = $_GET["H"];

?><html><head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Http://W-sp.TV - CH 1 embedded player</title>
        <link rel="stylesheet" href="http://s1.w-sp.tv/css/screen.css" type="text/css" media="screen, projection">
</head>
    
    <body style="margin: 0px; padding: 0px; background: #3c3c3c" marginwidth="0" marginheight="0">

<script type="text/javascript"> fid="<?php echo $channels; ?>"; v_width=<?php echo $W; ?>; v_height=<?php echo $H; ?>;</script><script type="text/javascript" src="http://hdcast.org/embedlive2.js"></script>

<a href="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status='Click to refresh'"><Button style="left: 90px; position: absolute; bottom: 18px;" >CliCk here to refresh when it stops</button></a>

<div id="ads2">
<div id="ad_overlay3002"  style="width:100%;height:500px;position:absolute;top:0px;left:0px; background-image: url(http://i.imgur.com/agan08S.png); background-repeat:repeat; "></div>
<div id="close" style="position:absolute; width:12px; height:12px;top:150px;left:55%;border:0;z-index:101">
<a href="javascript:void(0)" onClick="removeOverlayHTML301()"><img src="http://i.imgur.com/lsdOZKr.gif" width="12" height="12" class="liketarget"/></a></div>
</div>
<script language="javascript">
var adsno=1;
setOverlayAds();
	setInterval(function () {
		setOverlayAds(); 
	}, 1*280*360);

	function setOverlayAds()
	{
		document.getElementById('ads2').style.display="";
		var link="<iframe frameborder='0' marginheight='0' marginwidth='0' scrolling='no' src='http://w-sp.tv/advertises/ad20.html' width='100%' height='250' style='position:absolute; top:75px; left:0px; '></iframe>";
											
		document.getElementById('ad_overlay3002').innerHTML=link;
		if(adsno<1){
			adsno = adsno + 1;
		}
		else {
			adsno=1;	
		}
	}
function removeOverlayHTML301()
{
document.getElementById('ads2').style.display="none";
}
</script>

<!-- Histats.com  START (hidden counter)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="http://www.histats.com" target="_blank" title="web hit counter" ><script  type="text/javascript" >
try {Histats.start(1,2743640,4,0,0,0,"");
Histats.track_hits();} catch(err){};
</script></a>
<noscript><a href="http://www.histats.com" target="_blank"><img  src="http://sstatic1.histats.com/0.gif?2743640&101" alt="web hit counter" border="0"></a></noscript>
<!-- Histats.com  END  -->

<script id="_wausvp">var _wau = _wau || []; _wau.push(["small", "epiqt57rg94l", "svp"]);
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/small.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script>
 
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-54927907-1', 'auto');
  ga('send', 'pageview');

</script>

</body>
</html>